package com.restaurant.application.signin;

import com.nebutown.description.UnitDescription;
import com.nebutown.generation.basictype.UID;

public class SignInDesc extends UnitDescription {
    public static void main(String[] args) {
        UnitDescription desc = UnitDescription.basicUnit(SignIn.class, "SignInData");

        desc.nextBean("SignInData")
                .add("customer", UID.class)
                .add("signInName", String.class)
                // 签到时间
                .add("signInTime", Long.class)
                .add("gainAccumulate", Integer.class);

//        desc.addUiFactory("exchangeGoods", "ExchangeDetailData", SUBS.NONE);

        desc.run("./");
    }
}
